//
//  WebAPI.swift
//  LROpenSourceChinaKit
//
//  Created by Meng on 15/9/28.
//  Copyright (c) 2015年 Libre Rose. All rights reserved.
//

import Foundation

public class WebAPI {
    let httpsPrefix = "https://www.oschina.net/action/api/"
    let httpPrefix = "http://www.oschina.net/action/api/"
    
    let pageSizePrefix = "pageSize="
    
    let newsList = "news_list"
    let newsDetail = "news_detail"
    
    let blogList = "blog_list"
    
    let postList = "post_list"
    let postDetail = "post_detail"
    let postPub = "post_pub"

    let statusList = "tweet_list"
    let statusDetal = "tweet_detail"
    let statusDelete = "tweet_delete"
    let statusPub = "tweet_pub"
    let statusLike = "tweet_like"
    let statusDislike = "tweet_unlike"
    let statuslikeList = "tweet_like_list"
    let statusMyLikeList = "my_tweet_like_list"
    let statusSoftPub = "software_tweet_pub"
    let statusTopicList = "tweet_topic_list"
    
    let activeList = "active_list"
    
    let messageList = "message_list"
    let messageDelete = "message_delete"
    let messagePub = "message_pub"

    let commentList = "comment_list"
    let commentPub = "comment_pub"
    let commentReply = "comment_reply"
    let commentDelete = "comment_delete"
    
    let loginValidate = "login_validate"
    let userMyInfo = "my_information"
    let userInfo = "user_information"
    let userUpdateRelation = "user_updaterelation"
    let userUpdateInfo = "portrait_update"
    let userNotice = "user_notice"
    let userClearNotice = "notice_clear"
    
    let softDetail = "software_detail"
    let blogDetail = "blog_detail"
    
    let favoriteList = "favorite_list"
    let favoriteAdd = "favorite_add"
    let favoriteDelete = "favorite_delete"

    let searchList = "search_list"
    let friendList = "friends_list"
    let softClassList = "softwarecatalog_list"
    let softList = "software_list"
    let softTagList = "softwaretag_list"
    let softStatusList = "software_tweet_list"

    let blogCommentList = "blogcomment_list"
    let blogCommentPub = "blogcomment_pub"
    let blogCommentDelete = "blogcomment_delete"

    let myBlogDelete = "userblog_delete"
    let myBlogList = "userblog_list"
    
    let report = "communityManage/report"
    
    let searchUser = "find_user"
    let randomMessage = "rock_rock"
    let eventList = "event_list"
    let eventApply = "event_apply"
    let eventAttendUser = "event_attend_user"

    let reportUser = "user_report_to_admin"

    let openIDLogin = "openid_login"
    let openIDBind = "openid_bind"
    let openIDRegister = "openid_reg"
}
